class LedSetting {
  final int scene;
  final int effect;

  LedSetting({required this.scene, required this.effect});

  factory LedSetting.fromJson(Map<String, dynamic> json) {
    return LedSetting(
      scene: json['scene'],
        effect: json['effect']
    );
  }

  Map<String, dynamic> toJson() => {
    'scene': scene,
    'effect': effect
  };
}
